import Vue from 'vue'
import App from './App.vue'
import router from './router/index'
import store from '@/Store/index'



// css
import '@assets/styles/common.css';
import '@assets/styles/reset.css';
import '@assets/iconfont/iconfont.css'



Vue.config.productionTip = false

// vant
import { Swipe, SwipeItem } from 'vant';
import { Lazyload } from 'vant';
import { Cell, CellGroup } from 'vant';
import { NavBar } from 'vant';
import { Icon } from 'vant';
import { SubmitBar } from 'vant';
import { Checkbox, CheckboxGroup } from 'vant';
import { Stepper } from 'vant';
import { Popup } from 'vant';
import { ActionSheet } from 'vant';
import { Button } from 'vant';
import { RadioGroup, Radio } from 'vant';
import { AddressList } from 'vant';
import { AddressEdit } from 'vant';
import { Area } from 'vant';
import { CountDown } from 'vant';
import { Tab, Tabs } from 'vant';
import { Sticky } from 'vant';
import { List } from 'vant';
import { Sidebar, SidebarItem } from 'vant';
import { TreeSelect } from 'vant';
import { Search } from 'vant';

Vue.use(Search);
Vue.use(TreeSelect);
Vue.use(Sidebar);
Vue.use(SidebarItem);
Vue.use(List);
Vue.use(Sticky);
Vue.use(Tab);
Vue.use(Tabs);

Vue.use(CountDown);
Vue.use(Area);
Vue.use(AddressEdit);
Vue.use(AddressList);
Vue.use(Radio);
Vue.use(RadioGroup);
Vue.use(Button);
Vue.use(ActionSheet);
Vue.use(Popup);


// vant
Vue.use(Swipe);
Vue.use(SwipeItem);
Vue.use(Lazyload);
Vue.use(Cell);
Vue.use(CellGroup);
Vue.use(NavBar);
Vue.use(Icon);
Vue.use(SubmitBar);
Vue.use(Checkbox);
Vue.use(CheckboxGroup);
Vue.use(Stepper);

new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app')
